﻿using System;
using System.Configuration;

namespace StockTrader.DAL.HastcAdapter.Config
{
    public static class Settings
    {
        public static int READ_INTERVAL = Convert.ToInt32(ConfigurationManager.AppSettings["ReadInterval"]);
        public static int READ_INTERVAL_HIBERNATE = Convert.ToInt32(ConfigurationManager.AppSettings["ReadInterval_HIBERNATE"]);

        public static string ROOT_STS = ConfigurationManager.AppSettings["ROOT_STS"].ToString();
        public static string DAL_TYPE = ConfigurationManager.AppSettings["DbType"].ToString();
        public static string DAL_ORAC = ConfigurationManager.AppSettings["DAL_ORAC"].ToString();
        public static string DAL_MYSQL = ConfigurationManager.AppSettings["DAL_MYSQL"].ToString();
        public static string UPDATE_LIST = ConfigurationManager.AppSettings["UPDATE_LIST"].ToString();

        public static string CNN_STR = ConfigurationManager.AppSettings["SQLserverCnnStr"].ToString();
        public static string CNN_HNX_ORACLE = ConfigurationManager.ConnectionStrings["HnxOracle"].ToString();
        public static string CNN_HNX_MYSQL = ConfigurationManager.ConnectionStrings["HnxMySQL"].ToString();

    }

}

